require is not define on html script

107

require is not define on html script -

mainWindow = new BrowserWindow({
        webPreferences: {
            nodeIntegration: true
        }
    });

Comments

Submit
0 Comments